systemd.services.<name>.restartIfChanged
Whether the service should be restarted during a NixOS configuration switch if its definition has changed.
- Type
boolean- Default
true- Declared
- <nixpkgs/nixos/modules/system/boot/systemd.nix>
Whether the service should be restarted during a NixOS configuration switch if its definition has changed.
booleantrue